package
        org.example.service;

import org.example.error.BusinessException;
import org.example.service.model.UserModel;

public interface UserService {
    UserModel getByUserid(Integer id);

    void register(UserModel userModel) throws BusinessException;

    /**
     *
     * @param telphone 手机号
     * @param encrptPassword 加密后的密码
     * @throws BusinessException
     */
    UserModel login(String telphone,String encrptPassword) throws BusinessException;

}

